package org.csu.mypetstore.service.impl;

import org.csu.mypetstore.persistence.SearchMapper;
import org.csu.mypetstore.service.SearchService;
import org.csu.mypetstore.domain.SearchVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class SearchServiceImpl implements SearchService {

    @Autowired
    private SearchMapper searchMapper;

    @Override
    public List<SearchVo> fuzzySearch(String keyword) {
        return searchMapper.fuzzySearch(keyword);
    }

}